<template>
	<view class="apply-publicity">
		<image class="swiper-image" src="https://biapi.vaubang.cn/UploadFiles/Images/apply-content.png">
		</image>
		<button class="submit-btn" @click.stop.prevent="handleApply">立即报名</button>
		<view class="height"></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		methods: {
			handleApply() {
				uni.redirectTo({
					url: "/packageA/workbench/apply-list"
				})
			},
			// 分享给好友
			getShareData() {
				let title = "参与集训报名，先导入，先收益";
				let imageUrl = "";
				let path = '/packageA/workbench/apply-list';
				return {
					title,
					imageUrl,
					path,
				};
			},
		},
	}
</script>

<style lang="less">
	.apply-publicity {
		.swiper-image {
			width: 100%;
			height: 4436rpx;
		}

		.submit-btn {
			margin: 20px 15px;
			border: none;
			background-color: #008aff;
			color: #fff;
			font-size: 15px;
			height: 35pt;
			line-height: 35pt;

			&:active {
				background-color: #0076DB;
			}
		}
		.height{ 
			height: 40px;
		}
	}
</style>
